package com.mdx.entity;

import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import javax.persistence.Id;
import java.io.Serializable;

@Data
public class EbookEntry  implements Serializable {

	@Id
	private Integer id;

	private Integer categoryid;

	private String title;

	private String summary;

	private String uploader;

	@DateTimeFormat(pattern = "yyyy-MM-dd")
	private java.util.Date createdate;

}
